export function fetchConfig() {
    // 获取环境变量
    const configUrl = process.env.VUE_CONFIG_URL;
    return new Promise(resolve => {
        fetch(configUrl)
            .then(res => res.json())
            .then(data => {
                resolve(data);
            });
    });
}
